#!/bin/bash

# 配置ros2
export FASTRTPS_DEFAULT_PROFILES_FILE=./config/dds_profile.xml
export RMW_FASTRTPS_LOG_LEVEL=INFO

# 配置ros1

# export ROS_MASTER_URI=http://localhost:11311
# export ROS_MASTER_URI=http://192.168.1.10:11311
# 配置本机地址
export ROS_IP=192.168.1.10

# 关闭 wifi 网卡 可选
sudo ifconfig wlan0 down


# docker 启动指定网卡
docker run --network my_net